//
//  RBLogisticsResponse.h
//  zhongzhenglu
//
//  Created by 马军凯 on 2023/5/8.
//

#import "RBResponse.h"

NS_ASSUME_NONNULL_BEGIN

@interface RBLogisticsKuaidiModel : RBResponse
@property (nonatomic, copy) NSString *nu;
@property (nonatomic, copy) NSString *status;
@property (nonatomic, copy) NSString *ischeck;
@property (nonatomic, copy) NSString *condition;
@property (nonatomic, copy) NSString *com;
@property (nonatomic, copy) NSString *state;

@property (nonatomic, retain) NSArray *data;

@end

@interface RBLogisticsGoodsModel : RBResponse
@property (nonatomic, copy) NSString *goods_name;
@property (nonatomic, copy) NSString *goods_id;
@property (nonatomic, copy) NSString *file;
@property (nonatomic, copy) NSString *store_id;
@property (nonatomic, copy) NSString *store_name;
@property (nonatomic, copy) NSString *total_price;
@property (nonatomic, retain) NSArray *spec_key_name;
@end

@interface RBLogisticsGoodsSpecModel : RBResponse
@property (nonatomic, copy) NSString *key;
@property (nonatomic, copy) NSString *value;
@end


@interface RBLogisticsKuaidiDescModel : RBResponse
@property (nonatomic, copy) NSString *company_name;
@property (nonatomic, copy) NSString *company_code;
@end

@interface RBLogisticsModel : RBResponse
@property (nonatomic, strong) RBLogisticsKuaidiModel *kuaidi;
@property (nonatomic, copy) NSString *receive_addr;
@property (nonatomic, strong) RBLogisticsGoodsModel *goods;
@property (nonatomic, strong) RBLogisticsKuaidiDescModel *kuaidi_desc;
@end

@interface RBLogisticsResponse : RBResponse
@property (nonatomic, strong) RBLogisticsModel *data;
@end


@interface RBLogisticsKuaidiDataModel : RBResponse
//
@property (nonatomic, copy) NSString *areaCode;
//
@property (nonatomic, copy) NSString *status;
//
@property (nonatomic, copy) NSString *areaName;
//
@property (nonatomic, copy) NSString *ftime;
//
@property (nonatomic, copy) NSString *time;
@property (nonatomic, copy) NSString *context;

@property (nonatomic, assign) int index;
@property (nonatomic, assign) BOOL isLast;

@end

NS_ASSUME_NONNULL_END
